package cn.enilu.flash.service.order;


import cn.enilu.flash.bean.entity.order.TaskOrder;
import cn.enilu.flash.dao.order.TaskOrderRepository;

import cn.enilu.flash.service.BaseService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Service
public class TaskOrderService extends BaseService<TaskOrder,Long,TaskOrderRepository>  {
    private Logger logger = LoggerFactory.getLogger(getClass());
    @Autowired
    private TaskOrderRepository taskOrderRepository;

    public List<TaskOrder> queryBySql(String sql) {
        List<TaskOrder> taskOrders = taskOrderRepository.queryBySql(sql);
        return taskOrders;
    }
}

